﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace SilverlightDemo.Web
{
    public partial class Report1 : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            CrystalReport1 rpt = new CrystalReport1();
            string person = Request["personCreate"].ToString();

            MonhocReport dttable = new MonhocReport();
            rpt.SetDataSource(dttable.monhocs);
            rpt.SetParameterValue("personCreate", person);
            CrystalReportViewer1.ReportSource = rpt;

        }
    }
}